package com.kingsystem.kingteachermarks_backend.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author leiyue_yao
 * @since 2025-06-18
 */
@TableName("work_performance_allocation")
@ApiModel(value = "WorkPerformanceAllocation对象", description = "")
public class WorkPerformanceAllocation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("TableKey")
    private String tableKey;

    private String workPerformanceId;

    private String userId;

    private BigDecimal marks;

    private Integer sort;

    public String getTableKey() {
        return tableKey;
    }

    public void setTableKey(String tableKey) {
        this.tableKey = tableKey;
    }

    public String getWorkPerformanceId() {
        return workPerformanceId;
    }

    public void setWorkPerformanceId(String workPerformanceId) {
        this.workPerformanceId = workPerformanceId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getMarks() {
        return marks;
    }

    public void setMarks(BigDecimal marks) {
        this.marks = marks;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "WorkPerformanceAllocation{" +
            "tableKey = " + tableKey +
            ", workPerformanceId = " + workPerformanceId +
            ", userId = " + userId +
            ", marks = " + marks +
            ", sort = " + sort +
            "}";
    }
}
